package com.ruoyi.club.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 社团报名申请对象 club_application
 * 
 * @author Zou
 * @date 2025-11-14
 */
public class ClubApplication extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 申请ID */
    private Long id;

    /** 申请人ID */
    @Excel(name = "申请人ID")
    private Long userId;

    /** 社团ID */
    @Excel(name = "社团ID")
    private Long clubId;

    /** 招聘ID */
    @Excel(name = "招聘ID")
    private Long recruitmentId;

    /** 简历内容 */
    @Excel(name = "简历内容")
    private String resumeContent;

    /** 状态：0待审核，1通过，2拒绝 */
    @Excel(name = "状态：0待审核，1通过，2拒绝")
    private Long status;

    /** 社团审核人（sys_user.id） */
    @Excel(name = "社团审核人", readConverterExp = "s=ys_user.id")
    private Long clubAuditorId;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyTime;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date auditTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setClubId(Long clubId) 
    {
        this.clubId = clubId;
    }

    public Long getClubId() 
    {
        return clubId;
    }

    public void setRecruitmentId(Long recruitmentId) 
    {
        this.recruitmentId = recruitmentId;
    }

    public Long getRecruitmentId() 
    {
        return recruitmentId;
    }

    public void setResumeContent(String resumeContent) 
    {
        this.resumeContent = resumeContent;
    }

    public String getResumeContent() 
    {
        return resumeContent;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setClubAuditorId(Long clubAuditorId) 
    {
        this.clubAuditorId = clubAuditorId;
    }

    public Long getClubAuditorId() 
    {
        return clubAuditorId;
    }

    public void setApplyTime(Date applyTime) 
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime() 
    {
        return applyTime;
    }

    public void setAuditTime(Date auditTime) 
    {
        this.auditTime = auditTime;
    }

    public Date getAuditTime() 
    {
        return auditTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("clubId", getClubId())
            .append("recruitmentId", getRecruitmentId())
            .append("resumeContent", getResumeContent())
            .append("status", getStatus())
            .append("clubAuditorId", getClubAuditorId())
            .append("applyTime", getApplyTime())
            .append("auditTime", getAuditTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
